跳到主要内容

ApiDrawing

Represents the ApiDrawing class.

Methods

MethodReturnsDescription
CopyApiDrawingCreates a copy of the specified drawing object.
DeletebooleanDeletes the specified drawing object from the parent.
GetClassType"drawing"Returns the type of the ApiDrawing class.
GetHeightEMUReturns the height of the current drawing.
GetParentPageApiPageReturns the type of the ApiDrawing class.
GetPosXEMUGets the x position of the drawing on the page.
GetPosYEMUGets the y position of the drawing on the page.
GetRotationnumberReturns the rotation angle of the current drawing object.
GetWidthEMUReturns the width of the current drawing.
SelectbooleanSelects the current graphic object.
SetPosXbooleanSets the x position of the drawing on the page.
SetPosYbooleanSets the y position of the drawing on the page.
SetPositionbooleanSets the position of the drawing on the page.
SetRotationbooleanSets the rotation angle to the current drawing object.
SetSizebooleanSets the size of the object (image, shape, chart) bounding box.