←Select platform
In This Topic ▼

LEADDocument Class Methods

Summary

For a list of all members of this type, see LEADDocument members

Public Methods

Name Description
Public Method Clone Clones this document in the specified cache.
Public Method CreateCacheItemPolicy Create a new policy to be used when items of this document is cached.
Public Method CreateDocumentDescriptor Creates a descritpor object that can be used to re-create this document.
Public Method Decrypt Decrypt this document using the specified password.
Public Method static  | Shared in VB DocumentToPixels Converts a value from document units to pixels.
Public Method GetAnnotationsFileName Path to the file holding the original annotations.
Public Method GetAnnotationsStream Stream containing the data of the original annotations.
Public Method GetCache Gets the cache object used with by this document.
Public Method GetCacheKeys Get the cache keys used by this document.
Public Method GetDocumentFileName Path to the file holding the original document.
Public Method GetDocumentStream Stream containing the data of the original document.
Public Method static  | Shared in VB GetRotateFlip Extracts the rotation and flips value of the specified view perspective of this page.
Public Method static  | Shared in VB GetViewPerspectiveTransform Helper method to calculate the matrix to use when applying a view perspective.
Public Method LoadDocumentAttachment Loads an attachment as a LEADDocument object.
Public Method LockStreams Lock the document and annotation streams to be used by the current thread only.
Public Method static  | Shared in VB PixelsToDocument Converts a value from pixels to document units.
Public Method PointToDocument Converts a point from pixels to document units.
Public Method PointToPixels Converts a point from document units to pixels.
Public Method RectToDocument Converts a rectangle from pixels to document units.
Public Method RectToPixels Converts a rectangle from document units to pixels.
Public Method SaveAttachmentToCache Saves the specified attachment to the cache.
Public Method SaveToCache Saves the document to the cache.
Public Method SaveToFile Exports this document to the specified file using the specified format.
Public Method SaveToUri Exports this document to the specified remote URL using the specified format.
Public Method SizeToDocument Converts a size from pixels to document units.
Public Method SizeToPixels Converts a size from document units to pixels.
Public Method UnlockStreams Unlock the document and annotation streams from the current thread.
Public Method UpdateFromDocumentDescriptor Update this document from a descriptor.

Protected Methods

Name Description
Protected Method Dispose Releases all resources used by this LEADDocument.
Protected Method Finalize This method overrides System.Object.Finalize

See Also

Reference

LEADDocument Class

Leadtools.Document Namespace

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.