Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

LoadPictureAsync Method







The source AnnPicture to be loaded.
The AnnObject picture bounds.
The destination AnnObject.
The D2DSurface used in rendering annObject.
Loads the picture data resource for the specified AnnObject.
Syntax
public void LoadPictureAsync( 
   AnnPicture picture,
   LeadRectD objectBounds,
   AnnObject annObject,
   D2DSurface context
)
'Declaration
 
Public Sub LoadPictureAsync( _
   ByVal picture As AnnPicture, _
   ByVal objectBounds As LeadRectD, _
   ByVal annObject As AnnObject, _
   ByVal context As D2DSurface _
) 
'Usage
 
Dim instance As AnnD2DRenderingEngine
Dim picture As AnnPicture
Dim objectBounds As LeadRectD
Dim annObject As AnnObject
Dim context As D2DSurface
 
instance.LoadPictureAsync(picture, objectBounds, annObject, context)
public void LoadPictureAsync( 
   AnnPicture picture,
   LeadRectD objectBounds,
   AnnObject annObject,
   D2DSurface context
)
 function Leadtools.Annotations.Rendering.AnnD2DRenderingEngine.LoadPictureAsync( 
   picture ,
   objectBounds ,
   annObject ,
   context 
)

Parameters

picture
The source AnnPicture to be loaded.
objectBounds
The AnnObject picture bounds.
annObject
The destination AnnObject.
context
The D2DSurface used in rendering annObject.
Remarks

This method is used to Load the picture data for the specified AnnObject to draw it over the D2DSurface attached with AnnD2DRenderingEngine.

This method also creates a D2DBitmap at AnnPicture.InternalData.

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