Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

LoadResourceToPicture Method







The source AnnContainer that holds the objects for which picture resources will be loaded.
Loads the picture data resource for each AnnObject in the specified AnnContainer.
Syntax
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 
)

Parameters

container
The source AnnContainer that holds the objects for which picture resources will be loaded.

Return Value

A IAsyncAction of the operation.
Remarks

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.

Requirements

Target Platforms

See Also

Reference

AnnD2DRenderingEngine Class
AnnD2DRenderingEngine Members

Error processing SSI file
Leadtools.Annotations.Rendering requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features