SetDocImageIntensity method

The document is displayed with the new image intensity.

Method
short SetDocImageIntensity(
short Intensity )
Parameters
Intensity
Specifies the new document image intensity. This must be one of the following intensity values found in ARSOLEEX.H:
  ARS_OLE_INTENSITY_NORMAL
  ARS_OLE_INTENSITY_LIGHT
  ARS_OLE_INTENSITY_NONE
Description
The document is displayed with the new image intensity.
Return Value
Refer to return codes.
See Also
GetDocImageIntensity method

C/C + +

The following example sets the document image intensity to light.
 CArsOle * pArsCtrl;
 short rc;
   .
   .
 rc = pArsCtrl->SetDocImageIntensity( ARS_OLE_INTENSITY_LIGHT );
 if ( rc != ARS_OLE_RC_SUCCESS )
   ERROR;
   .
   .

Visual Basic

Dim rc As Integer

 .
 .

rc = ArsOle.SetDocImageIntensity (ARS_OLE_INTENSITY_LIGHT)
If rc <> ARS_OLE_RC_SUCCESS Then
   MsgBox "ERROR"
   End
End If

 .
 .