Method Add3dAnnotation
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Add3dAnnotation(PdfRectangle, string)
Adds the new 3D annotation based on 3D data from the file.
public Pdf3dAnnotation Add3dAnnotation(PdfRectangle bounds, string fileName)
Parameters
bounds
PdfRectangleThe bounds of the 3D annotation.
fileName
stringThe path to a file containing 3D data in U3D or PRC format.
Returns
- Pdf3dAnnotation
The newly created Pdf3dAnnotation object.
Add3dAnnotation(PdfRectangle, Stream)
Adds the new 3D annotation based on 3D data from Stream.
public Pdf3dAnnotation Add3dAnnotation(PdfRectangle bounds, Stream stream)
Parameters
bounds
PdfRectangleThe bounds of the 3D annotation.
stream
StreamThe stream containing 3D data in U3D or PRC format.
Returns
- Pdf3dAnnotation
The newly created Pdf3dAnnotation object.
Add3dAnnotation(PdfRectangle, Pdf3dStream)
Adds the new 3D annotation based on 3D data from Pdf3dStream.
public Pdf3dAnnotation Add3dAnnotation(PdfRectangle bounds, Pdf3dStream data)
Parameters
bounds
PdfRectangleThe bounds of the 3D annotation.
data
Pdf3dStreamThe 3D data to use in the annotation.
Returns
- Pdf3dAnnotation
The newly created Pdf3dAnnotation object.