Increase font size of display

Increase font size of display

Anonymous
Not applicable
296 Views
1 Reply
Message 1 of 2

Increase font size of display

Anonymous
Not applicable

Hi everyone,

 

Let's say I have a rectangular slab of dimension 54000mm X 25000mm. When I am writing a C# code to display the length of each side, the numbers are correct but the font size is so small that it is hardly visible. Is there a way how I can view the dimensions without having to zoom in to it?

 

I am attaching the code as an example. I am trying to display the distance between pt1 and pt2 in the code below:

 

[CommandMethod("CMD")]
public void Cmd()
{
var doc = Application.DocumentManager.MdiActiveDocument;
var db = doc.Database;
var ed = doc.Editor;


using (var tr = db.TransactionManager.StartTransaction())
{

var pt1 = new Point3d(6e4, 1.5e4, 0);
var pt2 = new Point3d(6e4, 3e4, 0);
AlignedDimension dim = new AlignedDimension(pt1, pt2, pt1, null, db.Dimstyle);
var space = (BlockTableRecord)tr.GetObject(db.CurrentSpaceId, OpenMode.ForWrite);
space.AppendEntity(dim);
tr.AddNewlyCreatedDBObject(dim, true);
tr.Commit();
}
}

 

 

 



Best regards,

Rahul Kochar

0 Likes
297 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Hi everyone,

 

I am attaching an image to explain my point. The number is visible only after zooming in a lot. Could someone suggest a way out of this?

0 Likes