CircleDrillShapePattern UsePointRadiusAsMaxRadius

Get or Set whether the Max radius of the drill circles should be set to the value defined by the radius of each drill point or by the pattern MaxRadius property.

Setting this property to FALSE will override the point defined radius by the max radius property of the circle drill pattern.

public bool UsePointRadiusAsMaxRadius { get; set; }

 

Return value

bool True if the radius of the drill point is used as max radius

 

Example

Copy
 CircleDrillShapePattern circleDrilPat = new CircleDrillShapePattern();

 circleDrilPat.DeltaRadius = 1;
 circleDrilPat.IsClockwise = false;
 circleDrilPat.IsConcentricCirclesEnabled = true;
 circleDrilPat.MaxRadius = 6;
 circleDrilPat.MinRadius = 2;
 circleDrilPat.RevsPerCircle = 1;
 
 circleDrilPat.UsePointRadiusAsMaxRadius = true;


 //Create a spiral shape.
 DrillShape drillShape = new DrillShape();
 drillShape.SetPattern(circleDrilPat);

 drillShape.AddCirclePoint(0, 0, 0, 10); // X , Y , Z , point defined radius
 drillShape.AddCirclePoint(10, 10, 0, 10);
 drillShape.AddCirclePoint(20, 20, 0, 10);

 // Add the Drill shape to vector image
 vectorImage.AddDrill(drillShape);