LoadPartAsync Method

PDFTron SilverDox SDK

Collapse imageExpand ImageCopy imageCopyHover image
Loads the specified part. This is a low-level method that would not normally be used unless creating a custom document viewer with very specific loading requirements.

Namespace: PDFTron.SilverDox.Documents
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010

Syntax

C#
public void LoadPartAsync(
	string partName,
	Action<Document..::..OnLoadPartAsyncCallbackArgs> onLoadPartCallback,
	Object userData
)
Visual Basic
Public Sub LoadPartAsync ( _
	partName As String, _
	onLoadPartCallback As Action(Of Document..::..OnLoadPartAsyncCallbackArgs), _
	userData As Object _
)
Visual C++
public:
void LoadPartAsync(
	String^ partName, 
	Action<Document..::..OnLoadPartAsyncCallbackArgs^>^ onLoadPartCallback, 
	Object^ userData
)

Parameters

partName
Type: System..::..String
The name of the part, typicially determined by referencing the properties of a particular page's PageInfo()()()().
onLoadPartCallback
Type: System..::..Action<(Of <(<'Document..::..OnLoadPartAsyncCallbackArgs>)>)>
The callback function that is called when the part has been loaded.
userData
Type: System..::..Object
Custom data that will be included in the callback function's arguments.

See Also