InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Transform::ScaleMethod Struct Reference

#include <TransformTypes.h>

Public Types

typedef Int2Type< ScaleMethod, 0 > LensScaling
 
typedef Int2Type< ScaleMethod, 1 > ContentScaling
 
typedef Int2Type< ScaleMethod, 2 > ScalingPreference
 

Public Member Functions

template<value_type v>
 ScaleMethod (const Int2Type< ScaleMethod, v > &)
 

Friends

bool operator== (const ScaleMethod &lhs, const ScaleMethod &rhs)
 
bool operator!= (const ScaleMethod &lhs, const ScaleMethod &rhs)
 

Detailed Description

ScaleMethod specifies whether the transform command will process a RedefineScalingCmd before returning. Transform::UseLensScaling() - do not follow the transform with a RedefineScalingCmd Transform::UseContentScaling() - do follow the transform with a RedefineScalingCmd Transform::ConsultScalingPreference() - consult the user preference to decide which scaling technique to use.