Added Profile debug for Debug Output (details printed at each paragraph)
This commit is contained in:
parent
e66cc71db9
commit
d991c5c9e3
@ -984,9 +984,12 @@ namespace Volian.Print.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (!Rtf2Pdf.PdfDebug) return "No Path";
|
if (!Rtf2Pdf.PdfDebug) return "No Path";
|
||||||
return string.Format("DebugID = {0}, ID={1} Type={2} TypeName='{3}' StepLevel={4} ShortPath={5} Width={6} Left={7}",
|
int profileDepth = ProfileTimer.Push(">>>> vlnParagraph.DebugInfo");
|
||||||
|
string retval = string.Format("DebugID = {0}, ID={1} Type={2} TypeName='{3}' StepLevel={4} ShortPath={5} Width={6} Left={7}",
|
||||||
DebugId, MyItemInfo.ItemID, MyItemInfo.FormatStepType, MyItemInfo.FormatStepData == null ? "NoStepData" : MyItemInfo.FormatStepData.Type, MyItemInfo.StepLevel, MyItemInfo.ShortPath, Width, XOffset);
|
DebugId, MyItemInfo.ItemID, MyItemInfo.FormatStepType, MyItemInfo.FormatStepData == null ? "NoStepData" : MyItemInfo.FormatStepData.Type, MyItemInfo.StepLevel, MyItemInfo.ShortPath, Width, XOffset);
|
||||||
|
ProfileTimer.Pop(profileDepth);
|
||||||
|
return retval;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void ResetDocStyleAndValues(ref float yTopMargin, ref float yBottomMargin)
|
private void ResetDocStyleAndValues(ref float yTopMargin, ref float yBottomMargin)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user