C#示例代码如下:
long pos = page.GetFirstGraphicsObjectPosition(GraphicsObject.Type.e_TypePath);
GraphicsObject g_obj = page.GetGraphicsObject(pos);
PathObject p_obj = g_obj.GetPathObject();
GraphState g_state = p_obj.GetGraphState();
float line_w = g_state.line_width;//读取线宽
g_state.line_width = line_w * 2;//设置线宽
p_obj.SetGraphState(g_state);
page.GenerateContent();