Method function IGDIPlus.IGPImageAttributes.ClearNoOp(TGPColorAdjustType) : TGPImageAttributes

From Mitov Wiki Doc
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: IGPImageAttributes

Contents

Syntax

Delphi:

function ClearNoOp( Type_ : TGPColorAdjustType ) : TGPImageAttributes;

C++ Builder:

TGPImageAttributes __fastcall ClearNoOp( TGPColorAdjustType Type_ );

Visual C++ (MFC):

ClearNoOp(  Type_ );

Summary

Clears the NoOp setting for a specified category.

Description

Call this method to clear the NoOp setting for a specified

category.
Remarks
You can disable color adjustment for a certain object type by
calling the SetNoOp method. Later, you can reinstate color
adjustment for that object type by calling the ClearNoOp
method. For example, the following statement disables color
adjustment for brushes:


myImageAttributes.SetNoOp(ColorAdjustTypeBrush);

The following statement reinstates the brush color adjustment
that was in place before the call to SetNoOp:


myImageAttributes.ClearNoOp(ColorAdjustTypeBrush);

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox