←Select platform

LoadPictureAsync Method

Summary

Loads the picture data resource for the specified AnnObject.

Syntax

C#
VB
WinRT C#
Public Sub LoadPictureAsync( _ 
   ByVal picture As Leadtools.Annotations.Core.AnnPicture, _ 
   ByVal objectBounds As Leadtools.LeadRectD, _ 
   ByVal annObject As Leadtools.Annotations.Core.AnnObject, _ 
   ByVal context As D2DSurface _ 
)  
 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly