←Select platform

ConvertFromPDF Method

Summary

Converts a list of PDFAnnotation objects into a list of AnnObject objects by adding it to target AnnContainer.

Syntax

C#
VB
Java
WinRT C#
public static void ConvertFromPDF(  
   IList<PDFAnnotation> source, 
   Leadtools.Annotations.Core.AnnContainer target, 
   Leadtools.LeadSizeD pdfPageSize 
) 
Public Shared Sub ConvertFromPDF( _ 
   ByVal source As IList(Of PDFAnnotation), _ 
   ByVal target As Leadtools.Annotations.Core.AnnContainer, _ 
   ByVal pdfPageSize As Leadtools.LeadSizeD _ 
) 
public static void ConvertFromPDF(  
   Windows.Foundation.Collections.IVector //In WinRT the IList interface is replaced by IVector<PDFAnnotation> source, 
   Leadtools.Annotations.Core.AnnContainer target, 
   Leadtools.LeadSizeD pdfPageSize 
) 
public static void convertFromPDF(List<PDFAnnotation> source, AnnContainer target, LeadSizeD pdfPageSize)
function Leadtools.Annotations.Documents.AnnPDFConvertor.ConvertFromPDF(  
   source , 
   target , 
   pdfPageSize  
) 

Parameters

source
The list of PDFAnnotation objects to fill into AnnContainer. This value must not be null.

target
The target AnnContainer is used to fill into it a list of PDFAnnotation objects. This parameter must not be null.

pdfPageSize
The size of the PDF page with the annotations.

Remarks

Note:The ConvertToPDF and ConvertFromPDF methods have different signatures for WinRT and WinRTPhone. Refer to the following for the correct signatures:

WinRT and WinRTPhone

public static void ConvertToPDF(AnnContainer source, IList<IPDFAnnotation> target, double pdfPageHeight) 
public static void ConvertFromPDF(IList<IPDFAnnotation> source, AnnContainer target, LeadSizeD pdfPageSize) 

Example

For an example, refer to AnnPDFConvertor.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Documents Assembly
Click or drag to resize