![]() | InDesign SDK 20.5 |
#include <ISetStripedAttrCmdData.h>

Public Types | |
| enum | { kDefaultIID = IID_ISETSTRIPEDATTRCMDDATA } |
Public Member Functions | |
| virtual uint32 | GetParamCount () const =0 |
| virtual void | SetParamCount (uint32 count)=0 |
| virtual void | GetNthParam (uint32 n, PMReal &start, PMReal &width) const =0 |
| virtual void | SetNthParam (uint32 n, PMReal const &start, PMReal const &width)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface defining data to be used by the SetStripedAttribute command.
Stores parameters used by the striped stroker. Each parameter consists of a pair of values: one that specifies the start position as a percentage of the stroke weight, and one that specifies the width (also as a percentage).
| pure virtual |
Retrieves the n'th parameter's start and width. If n identifies a valid index in the command data, the start and width out parameters are set to the values of the n'th parameter. Otherwise, start and width are undefined.
| n | IN Index of parameter to retrieve |
| start | OUT Parameter's start value |
| width | OUT Parameter's width value |
| pure virtual |
Returns the number of parameters stored in command data
| pure virtual |
Sets the n'th parameter's start and width values. If n identifies a valid index in the command data, its start and width are set accordingly. Other- wise, the method silently fails.
| n | IN Index of parameter to set |
| start | IN New start value for parameter |
| width | IN New width value for parameter |
| pure virtual |
Sets the number of parameters to be stored. If count is greater than current length, the additional parameters are defaulted to zeroes. If count is less than current length, existing values are truncated.
| count | IN New count of parameters for command data |