PDF3DContent

Overview

PDF3DContent is a class in Aspose.PDF FOSS for .NET.

Embedded-stream content for a 3D artwork (U3D or PRC).

This class declares 12 methods for PDF3DContent objects in .NET programs. Available methods include: GetAsByteArray, GetAsStream, Load, LoadAsPRC, LoadAsU3D, PDF3DContent, SaveToFile. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Extension.

Properties

NameTypeAccessDescription
Extensionstring?ReadGets the extension.

Methods

SignatureDescription
PDF3DContent()Creates empty 3D content; load data with Load, LoadAsPRC or LoadAsU3D.
PDF3DContent(filename: string)Creates 3D content from the file at filename (for example a .u3d or .prc file).
GetAsByteArray()Calls GetAsByteArray on this PDF3DContent instance.
GetAsStream()Calls GetAsStream on this PDF3DContent instance.
Load(filename: string)Reads the 3D data from the file at filename and takes the format from its extension.
LoadAsPRC(stream: byte[])Calls LoadAsPRC(stream) on this PDF3DContent instance.
LoadAsPRC(stream: Stream)Calls LoadAsPRC(stream) on this PDF3DContent instance.
LoadAsPRC(filename: string)Calls LoadAsPRC(filename) on this PDF3DContent instance.
LoadAsU3D(stream: byte[])Calls LoadAsU3D(stream) on this PDF3DContent instance.
LoadAsU3D(stream: Stream)Calls LoadAsU3D(stream) on this PDF3DContent instance.
LoadAsU3D(filename: string)Calls LoadAsU3D(filename) on this PDF3DContent instance.
SaveToFile(filename: string)Calls SaveToFile(filename) on this PDF3DContent instance.

See Also

 English