Introduction to ESRI. ArcGIS. Utility Class Library

Source: Internet
Author: User

When using. Net to develop certain arcgisengine interfaces for parameter passing, some interfaces defined earlier in MS [ifontdisp, ipicturedisp] are sometimes used.
These interfaces have been replaced by new types in. net. How can we perform type conversion? A static object is provided in the engine. Net API to facilitate this common type conversion?
Process description
A static OLE object is provided in the ESRI. ArcGIS. Utility. comsupport package of the Arc GIS engine. Net API.
You can use the methods provided by this object to conveniently. net object [system. drawing. font system. drawing. bitmap system. drawing. icon] to the corresponding early interface [ifontdisp, ipicturedisp]
The function is as follows:
ESRI. ArcGIS. Utility. comsupport. Ole. getifontdispfromfont ()
ESRI. ArcGIS. Utility. comsupport. Ole. getipicturedispfrombitmap ()
ESRI. ArcGIS. Utility. comsupport. Ole. getipicturedispfromicon ()

The Class Library also provides the method for Converting color and irgbcolor.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.