Hide Table of Contents
SetPictureLabelByName Method (IPropertyManagerPageControl)

Sets the bitmap label for this control on a PropertyManager page.

.NET Syntax

Visual Basic (Declaration) 
Function SetPictureLabelByName( _
   ByVal ColorBitmap As System.String, _
   ByVal MaskBitmap As System.String _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IPropertyManagerPageControl
Dim ColorBitmap As System.String
Dim MaskBitmap As System.String
Dim value As System.Boolean
 
value = instance.SetPictureLabelByName(ColorBitmap, MaskBitmap)
C# 
System.bool SetPictureLabelByName( 
   System.string ColorBitmap,
   System.string MaskBitmap
)
C++/CLI 
System.bool SetPictureLabelByName( 
&   System.String^ ColorBitmap,
&   System.String^ MaskBitmap
) 

Parameters

ColorBitmap

Fully qualified path to the location of the bitmap (i.e., the graphic to use) on disk

MaskBitmap

Fully qualified path to the location of the alpha mask bitmap on disk

Return Value

True if successful, false if not

Remarks

The image format for the two bitmaps is 18 x 18 pixels x 256 colors. The pixels in MaskBitmap specify transparency through shades of grey with boundaries of black pixels = 100% opaque and white pixels = 100% transparent.

 

You can only use this method on a PropertyManager page before the page is displayed, while it is displayed, or when it is closed.

 

See Also

Availability

SOLIDWORKS 2001Plus FCS, Revision Number 10.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   SetPictureLabelByName Method (IPropertyManagerPageControl)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2019 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.