←Select platform

LoadResourceToPicture Method

Summary

Loads the picture data resource for each AnnObject in the specified AnnContainer.

Syntax

C#
VB
WinRT C#
public IAsyncAction LoadResourceToPicture(  
   Leadtools.Annotations.Core.AnnContainer container 
) 
Public Function LoadResourceToPicture( _ 
   ByVal container As Leadtools.Annotations.Core.AnnContainer _ 
) As IAsyncAction 
public IAsyncAction LoadResourceToPicture(  
   Leadtools.Annotations.Core.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

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