 | PdfPageObjectsCollectionParseXObject Method |
Parse the stream and constructs a collection of page objects stored in that stream.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic static PdfPageObjectsCollection ParseXObject(
PdfDocument doc,
PdfTypeStream stream,
PdfTypeDictionary resourceDict = null
)
Public Shared Function ParseXObject (
doc As PdfDocument,
stream As PdfTypeStream,
Optional resourceDict As PdfTypeDictionary = Nothing
) As PdfPageObjectsCollection
public:
static PdfPageObjectsCollection^ ParseXObject(
PdfDocument^ doc,
PdfTypeStream^ stream,
PdfTypeDictionary^ resourceDict = nullptr
)
static member ParseXObject :
doc : PdfDocument *
stream : PdfTypeStream *
?resourceDict : PdfTypeDictionary
(* Defaults:
let _resourceDict = defaultArg resourceDict null
*)
-> PdfPageObjectsCollection public static PdfPageObjectsCollection ParseXObject(
PdfDocument doc,
PdfTypeStream stream,
PdfTypeDictionary resourceDict = null
)
Patagames.Pdf.Net.PdfPageObjectsCollection.ParseXObject = function(doc, stream, resourceDict);
Parameters
- doc PdfDocument
- The document to which the stream belongs.
- stream PdfTypeStream
- A stream containing PDF XObject.
- resourceDict PdfTypeDictionary (Optional)
- The stream containing the XObject's resources. Must be null if the resources are stored in the stream's dictionary.
Return Value
PdfPageObjectsCollectionThe collection on page objects.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to the method. |
See Also