CropOperations.AddBySketch Method
Parent Object: CropOperationsDescription
Method that adds a crop to a drawing view. The newly created CropOperation object is returned.
Syntax
CropOperations.AddBySketch( CropBoundarySketch As DrawingSketch, [DisplayCropCutLine] As Boolean, [Reserved] As Variant ) As CropOperationParameters
Name | Type | Description |
CropBoundarySketch | DrawingSketch | Input DrawingSketch that specifies the sketch with a loop as the boundary to crop the drawing view. |
DisplayCropCutLine | Boolean | Optional input Boolean value that specifies whether to display the crop cut line or not. If not provided this default to True. This is an optional argument whose default value is True. |
Reserved | Variant | Reserved for future use. This is an optional argument whose default value is null. |
Samples
Name | Description |
CropOperation creation sample | This sample demonstrates how to create a crop operation for a drawing view bases on a sketch under the drawing view. |