PDF3DProjection¶
Namespace: O2S.Components.PDF4NET.Annotations
Defines the mapping of 3D camera coordinates onto the target coordinate system of the annotation.
Inheritance Object → PDF3DProjection
Constructors¶
PDF3DProjection()¶
Initializes a new PDF3DProjection object.
Properties¶
ClippingStyle¶
Gets or sets the clipping style.
Property Value
PDF3DProjectionClippingStyle
A PDF3DProjectionClippingStyle that represents the clipping style.
FarClippingDistance¶
Gets or sets the far clipping distance.
Property Value
Double
The far clipping distance, expressed in the camera coordinate system.
Remarks
The value is meaningful only if PDF3DProjection.ClippingStyle property is PDF3DProjectionClippingStyle.ExplicitNearFar.
FieldOfView¶
Gets or sets the field of view.
Property Value
Double
A number between 0 and 180, inclusive, specifying the field of view
of the virtual camera, in degrees.
Remarks
This value is meaningful only if PDF3DProjection.Type property is PDF3DProjectionType.Perspective.
NearClippingDistance¶
Gets or sets the near clipping distance.
Property Value
Double
The near clipping distance, expressed in the camera coordinate system.
Remarks
This value is meaningful only if PDF3DProjection.ClippingStyle property is
PDF3DProjectionClippingStyle.ExplicitNearFar or if PDF3DProjection.Type is PDF3DProjectionType.Perspective.
The value must be non-negative for orthographic projections and
positive for perspective projections.
OrthoScaleStrategy¶
Gets or sets the ortographic scale strategy.
Property Value
PDF3DProjectionOrthoScaleStrategy
A PDF3DProjectionOrthoScaleStrategy that represents strategy for
binding (scaling to fit) the near plane's x and y coordinates onto the annotation's
target coordinate system.
Scaling¶
Gets or sets the the scaling used when projecting the 3D artwork.
Property Value
Double
A positive number that specifies the scaling used when projecting the
3D artwork onto the annotation's target coordinate system.
Type¶
Gets or sets the type of projection.
Property Value
PDF3DProjectionType
A PDF3DProjectionType that represents the type of projection.