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

Public Types | |
| enum | { kDefaultIID = IID_IGUIDESELECTIONUTILS } |
| enum | GuideSelectionType { kNone, kVertical, kHorizontal, kMixed } |
Public Member Functions | |
| virtual GuideSelectionType | GetGuideSelectionType (const UIDList &items) const =0 |
| virtual void | CountGuides (const UIDList &items, int32 &nVertical, int32 &nHorizontal) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Utilities relating to selections over guides.
Utils<IGuideSelectionUtils>()->GetGuideSelectionType( ... ) ;
Enum values of guide's selection type. kNone: no guide is selected. kVertical: only vertical guide is selected. kHorizontal: only horizontal guide is selected. kMixed: both horizontal and vertical guides are selected.
| pure virtual |
Count how many horizontal and vertical guides are selected for the given items.
| items | IN the total items to check. |
| nVertical | OUT the number of selected vertical guides. |
| nHorizontal | OUt the number of selected horizontal guides. |
| pure virtual |
Get guide's selection type for the given items. The result could be no guide selected, only vertical guide selected, only horizontal guide selected or both horizontal and vertical guide selected.
| items | IN the items for checking selection type. |