Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
320
Parameter is not valid.
posted

Hi,

we are facing the "Parameter is not valid." 

at System.Drawing.Graphics.GetHdc()

   at Infragistics.Win.FormattedLinkLabel.PositionElementsCache.MeasureTextGDIOrThemed(String text, Font font, TextFormatFlags textFormatFlags)

   at Infragistics.Win.FormattedLinkLabel.PositionElementsCache.MeasureCharacterRangesGDI(String text, Font font, TextFormatFlags textFormatFlags, CharacterRange[] ranges)

   at Infragistics.Win.FormattedLinkLabel.PositionElementsCache.ReMeasureParts(String text, Int32[] parts, Single[] widths, Int32 partStartIndex, Int32 partEndIndex, Font font, Single& lineHeight)

   at Infragistics.Win.FormattedLinkLabel.PositionElementsCache.MeasureParts(String text, Int32[] parts, Font font, Single& lineHeight)

   at Infragistics.Win.FormattedLinkLabel.NodeText.TextLayoutInfo.Measure(PositionElementsInfo& info)

   at Infragistics.Win.FormattedLinkLabel.NodeText.PositionSelf(PositionElementsInfo& info)

   at Infragistics.Win.FormattedLinkLabel.NodeBase.PositionHelper(PositionElementsInfo& info)

   at Infragistics.Win.FormattedLinkLabel.NodeBase.Position(PositionElementsInfo& info)

   at Infragistics.Win.FormattedLinkLabel.NodeBase.PositionChildNodes(PositionElementsInfo& info)

   at Infragistics.Win.FormattedLinkLabel.NodeBlock.PositionChildNodes(PositionElementsInfo& info)

   at Infragistics.Win.FormattedLinkLabel.NodeBase.PositionHelper(PositionElementsInfo& info)

   at Infragistics.Win.FormattedLinkLabel.NodeBase.Position(PositionElementsInfo& info)

   at Infragistics.Win.FormattedLinkLabel.NodeBase.CalcSize(IFormattedLinkLabelOwner owner, Graphics graphics, Int32 maxWidth)

   at Infragistics.Win.FormattedLinkLabel.ParsedFormattedTextValue.CalcSize(Graphics graphics, Font baseFont, AppearanceData& defaultAppearance, Int32 widthConstraint, DefaultableBoolean wrapText, GdiDrawStringFlags gdiDrawStringFlags)

   at Infragistics.Win.UltraWinToolbars.Ribbon.RibbonMetrics.CalculateCaptionAreaHeight()

   at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.CalculateGlassRect()

   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.ExtendGlassIntoRibbon(IntPtr handle)

   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.RefreshGlass()

   at Infragistics.Win.UltraWinToolbars.Ribbon.RibbonMetrics.Dirty(RibbonMetricsFlags flags)

   at Infragistics.Win.UltraWinToolbars.Ribbon.OnFormCaptionChanged()

   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnFormTextChanged(Object sender, EventArgs e)

   at System.EventHandler.Invoke(Object sender, EventArgs e)

   at System.Windows.Forms.Control.OnTextChanged(EventArgs e)

   at System.Windows.Forms.Form.OnTextChanged(EventArgs e)

   at System.Windows.Forms.Control.set_Text(String value)

   at System.Windows.Forms.Form.set_Text(String value)

Parents
No Data
Reply
  • 23930
    Offline posted

    Hi Wagas,

    Thank you for contacting Infragistics Developer Support.

    What version of Infragistics for Windows Forms are you using? When is the issue happening? Can you give us steps to reproduce the issue? Does it happen randomly or you can reproduce it every time? Can you provide me with a sample that reproduces this issue?

    I am looking forward to your reply.

Children