I need to draw vertical lines on a document. The lines must be same as we draw using line tool.
I could draw the line using CreateLineSpline() method of IPathUtils.
The problem is that these lines are not visible in preview mode. Please tell how can we make lines that are visible in preview mode.
Please help, I'm running out of time.
I'm also using the same function,
Utils<IPathUtils>()->CreateLineSpline(::GetUIDRef(spreadLayer), pathPointList, INewPageItemCmdData::kDefaultGraphicAttributes);
But the problem is that these lines are not visible in preview mode. Can you tell me what I'm missing.
As I understand it, this command should create a regular path which you can stroke, fill, select etc.
If it's visible in normal mode but not in Preview, did you forget to set a stroke or fill to it?
Can you select it and *then* set a stroke or fill to it?
Europe, Middle East and Africa