![]() |
Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Annotations.Rendering Namespace > AnnD2DRenderingEngine Class : LoadResourceToPicture Method |
public IAsyncAction LoadResourceToPicture( AnnContainer container )
'Declaration
Public Function LoadResourceToPicture( _ ByVal container As AnnContainer _ ) As IAsyncAction
'Usage
Dim instance As AnnD2DRenderingEngine Dim container As AnnContainer Dim value As IAsyncAction value = instance.LoadResourceToPicture(container)
public IAsyncAction LoadResourceToPicture( AnnContainer container )
function Leadtools.Annotations.Rendering.AnnD2DRenderingEngine.LoadResourceToPicture( container )
AnnD2DRenderingEngine use D2DBitmap to draw images. This method loads each object's picture data and creates a D2DBitmap at AnnPicture.InternalData.
Also this method is used to speed up the rendering operation, by loading each AnnObject picture data before rendering it.