Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Returns a CanvasShapes object that represents a collection of shapes in a drawing canvas.
Syntax
expression. CanvasItems
expression Required. A variable that represents a Shape object.
Example
This example creates a new drawing canvas in the active document and adds a circle to the canvas.
Sub NewCanvasShape()
Dim shpCanvas As Shape
Set shpCanvas = ActiveDocument.Shapes.AddCanvas( _
Left:=100, Top:=75, Width:=150, Height:=200)
shpCanvas.CanvasItems.AddShape _
Type:=msoShapeOval, Top:=25, _
Left:=25, Width:=150, Height:=150
End Sub
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.