Hide Table of Contents
SetTitleBitmap2 Method (IPropertyManagerPage2)

Sets the bitmap in the title bar of this PropertyManager.

.NET Syntax

Visual Basic (Declaration) 
Sub SetTitleBitmap2( _
   ByVal FilePathName As String _
Visual Basic (Usage) 
Dim instance As IPropertyManagerPage2
Dim FilePathName As String
void SetTitleBitmap2( 
   string FilePathName
void SetTitleBitmap2( 
&   String^ FilePathName


Path and filename of the bitmap to display in the title of this PropertyManager page


If your application must be x64 compatible, then use IPropertyManagerPage2::SetTitleBitmapx64.

You can only use this method to set properties on the PropertyManager page before it is displayed or while it is closed. See IPropertyManagerPage2::Show2 and IPropertyManagerPage2::Close for details.

Create the bitmap in the resources of your application. The bitmap must have less than 256 colors. It is accessed via the path and filename passed into this method. The recommended size for bitmaps is a square from 18- to 22-cells wide. However, the bitmap can be any size, as long as it fits on the title bar.

The bitmap appears transparent by mapping any white (RGB(255,255,255)) cells to the current PropertyManager page title bar background color. Remember the special use of this color as you design your bitmap.

If this method is...

Then the title bar contains...


Specified bitmap starting at the left edge of the PropertyManager title bar, followed by the title bar text (see ISldWorks::CreatePropertyManagerPage or ISldWorks::ICreatePropertyManagerPage).

Not used

Only the text, centered on the title bar.


See Also


SolidWorks 2005 SP2, Revision Number 13.2

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

Subject:   Feedback on Help Topics
Page:   SetTitleBitmap2 Method (IPropertyManagerPage2)
*   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:


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

Web Help Content Version: API Help (English only) 2010 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.