Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D.Effects Namespace / Scale Class
Properties Methods Events

In This Topic
    Scale Class Members
    In This Topic

    The following tables list the members exposed by Scale.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the Scale class.  
    Top
    Public Properties
     NameDescription
    Public PropertyThe mode used to calculate the border of the image, soft or hard. See Border modes for more info.  
    Public PropertyGets or sets Cached property. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public PropertyThe image scaling center point. This property is a GrapeCity.Documents.DX.Vector2 defined as: (point X, point Y). The units are in DIPs. Use the center point property to scale around a point other than the upper-left corner.  
    Public PropertyGets or sets the associated instance of GrapeCity.Documents.DX.Direct2D.ICustomEffect. (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public PropertyThe interpolation mode the effect uses to scale the image. There are 6 scale modes that range in quality and speed. If you don't select a mode, the effect uses the interpolation mode of the device context. See Interpolation modes for more info.  
    Public PropertyGets a value indicating whether this instance is disposed. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Public PropertyGet a pointer to the underlying Cpp Object (Inherited from GrapeCity.Documents.DX.CppObject)
    Public PropertyThe scale amount in the X and Y direction as a ratio of the output size to the input size. This property a GrapeCity.Documents.DX.Vector2 defined as: (X scale, Y scale). The scale amounts are FLOAT, unitless, and must be positive or 0.  
    Public PropertyIn the high quality cubic interpolation mode, the sharpness level of the scaling filter as a float between 0 and 1. The values are unitless. You can use sharpness to adjust the quality of an image when you scale the image down. The sharpness factor affects the shape of the kernel. The higher the sharpness factor, the smaller the kernel.  
    Public PropertyGets or sets a custom user tag object to associate with this instance.. (Inherited from GrapeCity.Documents.DX.CppObject)
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Initializes a new instance of Scale effect.  
    Public MethodPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodvoid ID2D1Effect::GetInput([In] unsigned int index,[Out, Optional] ID2D1Image** input) (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public Methodunsigned int ID2D1Effect::GetInputCount() (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodvoid ID2D1Effect::GetOutput([Out] ID2D1Image** outputImage) (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodunsigned int ID2D1Properties::GetPropertyCount() (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodunsigned int ID2D1Properties::GetPropertyIndex([In] const wchar_t* name) (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodOverloaded. Gets the number of characters for the given property name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodunsigned int ID2D1Properties::GetPropertyNameLength([In] unsigned int index) (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodHRESULT ID2D1Properties::GetSubProperties([In] unsigned int index,[Out, Optional] ID2D1Properties** subProperties) (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodD2D1_PROPERTY_TYPE ID2D1Properties::GetType([In] unsigned int index) (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodOverloaded. Gets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodHRESULT ID2D1Properties::GetValueByName([In] const wchar_t* name,[In] D2D1_PROPERTY_TYPE type,[Out, Buffer] void* data,[In] unsigned int dataSize) (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodunsigned int ID2D1Properties::GetValueSize([In] unsigned int index) (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by index. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodGets the value of the specified property by name. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodOverloaded. Query this instance for a particular COM GUID/interface support. (Inherited from GrapeCity.Documents.DX.ComObject)
    Public MethodOverloaded. Query instance for a particular COM GUID/interface support. (Inherited from GrapeCity.Documents.DX.ComObject)
    Public MethodSets the named property to the given value. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public Methodvoid ID2D1Effect::SetInput([In] unsigned int index,[In, Optional] ID2D1Image* input,[In] BOOL invalidate) (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public MethodHRESULT ID2D1Effect::SetInputCount([In] unsigned int inputCount) (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public MethodSets the input by using the output of a given effect. (Inherited from GrapeCity.Documents.DX.Direct2D.Effect)
    Public MethodOverloaded. Sets the named property to the given value. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Public MethodOverloaded. Sets the named property to the given value. (Inherited from GrapeCity.Documents.DX.Direct2D.Properties)
    Top
    Public Events
     NameDescription
    Public EventOccurs when this instance is fully disposed. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Public EventOccurs when this instance is starting to be disposed. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Top
    See Also