.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Background mask Mtext in VB.NET

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Sgear
1556 Views, 3 Replies

Background mask Mtext in VB.NET

Hi

 

to Background mask Mtext in VB.NET

how can I use "Fill color" Use drawing background color

3 REPLIES 3
Message 2 of 4
_gile
in reply to: Sgear

Hi,

 

you have to set the UseBackgroundColor, BackgroundFill and BackgroundFillColor properties.

 

mtext.UseBackgroundColor = false;
mtext.BackgroundFill = true;
mtext.BackgroundFillColor = Color.FromColorIndex(ColorMethod.ByAci, 1);


Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 3 of 4
Sgear
in reply to: _gile

Hi

 

I try this

 

the background get read from the Layer not from the drawing

 

 

                            mtx.BackgroundFill = True
                            mtx.BackgroundFillColor = Color.FromColorIndex(ColorMethod.ByAci, 1)
                            mtx.UseBackgroundColor = False
Message 4 of 4
Sgear
in reply to: Sgear

Hi

 

I change this to True

 

UseBackgroundColor = True

 

Case Closed 🙂

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report