BimDrawingPdf
Hierarchy
- BimDrawingObject
- BimDrawingPdf
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Parameters
api: BimCoreApi
_drawingPdf: BimPdf
drawingChange: BimChangeBlob
onDisposed: (o: BimDrawingObject) => void
Returns BimDrawingPdf
Properties
publicreadonlydrawingChange
BimChangeDwg or BimChangeBlob that the drawing source is loaded from
Accessors
publicboundingInfo
Bounding info for the drawing plane
Returns BoundingInfo
publicdrawing
Returns BimPdf
The BimPdf object
publicparentTransformNode
Returns Nullable<TransformNode>
publicvisible
trueif the drawing is visible, otherwisefalse.Returns boolean
Parameters
v: boolean
Returns void
Methods
publicdispose
Dispose the drawing (it is unloaded and will not longer be visualized.)
Returns void
publicforceUpdate
Force the drawing to zoom based on the camera position and render.
Returns Promise<void>
publicgetBackgroundColor
Gets the background color for the current PDF
Returns Color3
The background color as a Color3
publicpage
Sets which page of PDF should be rendered or gets the current page.
Parameters
optionalp: number
Number of the page you wish to render, 1 - pageCount.
Returns Promise<number>
publicpageCount
Returns number
The number of pages in the PDF.
publicsetBackgroundColor
Sets the background color of the PDF.
Parameters
color: Color3
new background color for the PDF.
Returns void
Represents a drawing that has been loaded using the DrawingApi class.