Markup displayed images are no longer transparent |
Post Reply |
Author | |
Heath
Groupie Joined: 05 April 2004 Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 09 May 2013 at 3:54pm |
I have been using Codejock 15.3.1 to display a table of images in a record item using markup. The bitmap has background set to magenta which using SetMaskColor has successfully been displayed as transparent. Since upgrading to Codejock 16.1, the background of the images appear black.
The images are defined using the following; CXTPImageManager *pImageManager = XTPImageManager(); pImageManager->SetMaskColor(RGB(255,0,255)); // Magenta pImageManager->SetIcons(IDB_GLOBALMARKUPIMAGES_16, GlobalImageSmallCommandIds, _countof(GlobalImageSmallCommandIds), CSize(16, 16), xtpImageNormal); The markup string written to the record item is as follows; <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width='18'/> <ColumnDefinition Width='18'/> <ColumnDefinition Width='18'/> <ColumnDefinition Width='18'/> </Grid.ColumnDefinitions> <TextBlock Grid.Column='0'><InlineUIContainer><Image Source='1'/></InlineUIContainer></TextBlock> <TextBlock Grid.Column='1'><InlineUIContainer><Image Source='2'/></InlineUIContainer></TextBlock> <TextBlock Grid.Column='2'><InlineUIContainer><Image Source='3'/></InlineUIContainer></TextBlock> <TextBlock Grid.Column='3'><InlineUIContainer><Image Source='4'/></InlineUIContainer></TextBlock> </Grid> Is this a known issue? Is there a workaround? Thanks, Heath |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |