SmoothShapeOption Property

Describes how Line object is rendered in a picture where the SmoothShapes property is set to True. The SmoothShapeOption property is not effective when the pictures's SmoothShape property is set to False.

Syntax

object.SmoothShapeOption [= enumSmoothShapeOptions]

Properties

The SmoothShapeOption property syntax has this part:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

enumSmoothShapeOptions

An enumeration that describes how the object is rendered. Valid values include:

  • SmoothLineWithFlatEnds (0) – This option is typically used to draw smooth line with flat ends. Prior to iFIX 2022, lines were rendered with this option. This is the default (and compatible option) for pictures created prior to iFIX 2022.
  • SmoothLineWithEndCaps (1) – This option renders smooth line with end caps. This option can be used resolve issue related to end caps in a Line object that was created prior to iFIX 2022. This is the default for pictures created in iFIX 2022 and greater. 
  • SharpLineWithFlatEnds (2) – This option renders a sharp line with flat ends. This option can be used resolve the issue of blur rendering caps in a Line object that created prior to iFIX 2022.
  • SharpLineWithEndCaps (3) – This option renders sharp lines with end caps. This option can be used to render a Line object if a picture’s SmoothShapes property is set to False. (Similar to rendering prior to iFIX 5.9.)

Applies To