413 references to SizeF
System.Drawing (14)
commonui\System\Drawing\Advanced\GPRECTF.cs (1)
38return new SizeF(Width, Height);
commonui\System\Drawing\Advanced\RectangleF.cs (1)
113return new SizeF(Width, Height);
commonui\System\Drawing\Advanced\SizeF.cs (2)
195return new SizeF(sz1.Width + sz2.Width, sz1.Height + sz2.Height); 206return new SizeF(sz1.Width - sz2.Width, sz1.Height - sz2.Height);
commonui\System\Drawing\Advanced\SizeFConverter.cs (2)
87return new SizeF(values[0], values[1]); 150return new SizeF((float)propertyValues["Width"],
commonui\System\Drawing\Graphics.cs (6)
2518return new SizeF(0, 0); 2543return new SizeF(0, 0); 2581return new SizeF(0, 0); 2609return MeasureString(text, font, new SizeF(0,0)); 2616return MeasureString(text, font, new SizeF(width, 999999)); 2623return MeasureString(text, font, new SizeF(width, 999999), format);
commonui\System\Drawing\Image.cs (1)
799return new SizeF(width, height);
commonui\System\Drawing\Size.cs (1)
78return new SizeF(p.Width, p.Height);
System.Messaging (1)
System\Messaging\Design\QueuePathDialog.cs (1)
274this.AutoScaleDimensions = new System.Drawing.SizeF(6.0F, 14.0F);
System.Web.DataVisualization (191)
Common\Annotation\AnnotationBase.cs (4)
2046SizeF markerSizeRel = chartGraphics.GetRelativeSize(new SizeF(markerSize, markerSize)); 2786 size = new SizeF( (float)relativeWidth, (float)relativeHeight ); 2821SizeF markerSizeRel = new SizeF((float)this.AnchorOffsetX, (float)this.AnchorOffsetY); 3539 new SizeF(1f, 1f));
Common\Annotation\ArrowAnnotation.cs (1)
317 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\CalloutAnnotation.cs (5)
654 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 919 SizeF pixelSize = graphics.GetRelativeSize(new SizeF(1f, 1f)); 1122 new SizeF(rectanglePosition.Width, rectanglePosition.Height)); 1170 SizeF size = new SizeF(Math.Abs(cloudCenterAbs.X - point.X), Math.Abs(cloudCenterAbs.Y - point.Y)); 1473 SizeF pixelSize = graphics.GetRelativeSize(new SizeF(2f, 2f));
Common\Annotation\GroupAnnotation.cs (1)
924 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\ImageAnnotation.cs (1)
528 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\LineAnnotation.cs (1)
572 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\PolygonAnnotation.cs (1)
569 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\RectangleAnnotation.cs (2)
392 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 630 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\TextAnnotation.cs (2)
422 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 953new SizeF(2000, 2000),
Common\Borders3D\EmbedBorder.cs (22)
67 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 81sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 113 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 127sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 160 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 174sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 206 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 220sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 253 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 268sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 301 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 314sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 347 this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 363this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 386 this.sizeLeftTop = new SizeF(0, sizeLeftTop.Height); 387 this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 404this.sizeLeftTop = new SizeF(0, sizeLeftTop.Height); 405this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 604 sizeLeftTop = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 605 sizeRightBottom = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 621sizeLeftTop = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 622sizeRightBottom = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f);
Common\Borders3D\EmbossBorder.cs (1)
113 SizeF borderSize = new SizeF(defaultRadiusSize/2f, defaultRadiusSize/2f);
Common\ChartTypes\BarChart.cs (4)
343 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 1318 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 2042SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format); 2114SizeF sizeLabel = new SizeF(size.Width, size.Height);
Common\ChartTypes\BoxPlotChart.cs (10)
482 SizeF relBorderWidth = graph.GetRelativeSize(new SizeF(point.BorderWidth, point.BorderWidth)); 543 SizeF minSize = graph.GetRelativeSize(new SizeF(2, 2)); 648 SizeF relMarkerSize = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 846 SizeF size = new SizeF(markerSize, markerSize); 912SizeF markerSizes = new SizeF(0f, 0f); 915markerSizes = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 933graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 961graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 966SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1323 SizeF minSize = graph.GetRelativeSize(new SizeF(2, 2));
Common\ChartTypes\BubbleChart.cs (1)
182 SizeF size = new SizeF(markerSize, markerSize);
Common\ChartTypes\ColumnChart.cs (6)
269 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 661 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 1246SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1250SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1368SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1372SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\ErrorBarChart.cs (6)
903 SizeF size = new SizeF(markerSize, markerSize); 969SizeF markerSizes = new SizeF(0f, 0f); 972markerSizes = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 990graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1018graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1023SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\FastLineChart.cs (2)
306 SizeF pixelSize = graph.GetRelativeSize(new SizeF(permittedPixelError, permittedPixelError)); 307 SizeF axesMin = graph.GetRelativeSize(new SizeF((float)hAxisMin, (float)vAxisMin));
Common\ChartTypes\FastPointChart.cs (2)
307 SizeF pixelSize = graph.GetRelativeSize(new SizeF(permittedPixelError, permittedPixelError)); 308 SizeF axesMin = graph.GetRelativeSize(new SizeF((float)hAxisMin, (float)vAxisMin));
Common\ChartTypes\FunnelChart.cs (5)
216 private SizeF _funnelNeckSize = new SizeF(50f, 30f); 1521 new SizeF(1000f, 1000F), 1787 SizeF labelSpacing = new SizeF(3f, 3f); 2379 SizeF neckSize = new SizeF(5f, 5f); 2472gapSize = this.Graph.GetAbsoluteSize(new SizeF(gapSize, gapSize)).Height;
Common\ChartTypes\PieChart.cs (12)
792 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) ); 796 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) ); 889 double offset = graph.GetRelativeSize( new SizeF( point.series.ShadowOffset, point.series.ShadowOffset ) ).Width; 1255new SizeF(1000f, 1000f), 1260SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 2555 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) ); 2559 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) ); 5361 SizeF fontSize = new SizeF(1.4F * series.Font.Size,1.4F * series.Font.Size); 5456float labelVertSize = graph.GetAbsoluteSize(new SizeF(0f, this.labelColumnRight.columnHeight)).Height; 5476float labelVertSize = graph.GetAbsoluteSize(new SizeF(0f, this.labelColumnLeft.columnHeight)).Height; 5571 new SizeF(1000f, 1000f), 5576 SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\PointAndFigureChart.cs (1)
758 new SizeF((float)boxXSize, (float)boxYSize));
Common\ChartTypes\PointChart.cs (6)
699SizeF sizeMarker = graph.GetRelativeSize(new SizeF(markerSize, markerSize)); 701graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 704graph.MeasureString("W", point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 707SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 981 pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f)); 1414 SizeF size = new SizeF(markerSize, markerSize);
Common\ChartTypes\RadarChart.cs (4)
959 SizeF size = new SizeF(markerSize, markerSize); 1071SizeF sizeMarker = new SizeF(markerSize, markerSize); 1072SizeF sizeFont = graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic); 1075SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedAreaChart.cs (4)
1037new SizeF(1000f, 1000f), 1042SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1519new SizeF(1000f, 1000f), 1524SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedBarChart.cs (8)
1094new SizeF(1000f, 1000f), 1162new SizeF(0f, 0f), 1180SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1955SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format); 2029new SizeF(1000f, 1000f), 2051new SizeF(0f, 0f), 2078new SizeF(1000f, 1000f), 2084SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedColumnChart.cs (8)
1177new SizeF(1000f, 1000f), 1200new SizeF(0f, 0f), 1231new SizeF(1000f, 1000f), 1237SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1897new SizeF(1000f, 1000f), 1921new SizeF(0f, 0f), 1943new SizeF(1000f, 1000f), 1949SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StockChart.cs (6)
668 SizeF absSize = graph.GetAbsoluteSize(new SizeF(width, width)); 808 SizeF sizeOfHeight = new SizeF( rect.Height, rect.Height ); 1021sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1055sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1062SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1493 SizeF absSize = graph.GetAbsoluteSize(new SizeF(width, width));
Common\DataManager\DataSeries.cs (4)
662 SizeF relativeSize = graph.GetRelativeSize(new SizeF((float)pointDepth, (float)pointDepth)); 692SizeF relativeSize = graph.GetRelativeSize(new SizeF((float)pointGapDepth, (float)pointGapDepth)); 730 SizeF pointSize = graph.GetAbsoluteSize(new SizeF((float)pointWidth, (float)pointWidth)); 820 SizeF pointRelativeSize = graph.GetRelativeSize(new SizeF((float)pixelPointWidth, (float)pixelPointWidth));
Common\General\Axis.cs (25)
1824SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1844SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 1845axisTitleSize = graph.GetRelativeSize(new SizeF(axisTitleSize.Height, axisTitleSize.Width)); 1867SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1887SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 1888axisTitleSize = graph.GetRelativeSize(new SizeF(axisTitleSize.Height, axisTitleSize.Width)); 2243SizeF realTitleSize = graph.MeasureString(axisTitle.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), format, this.GetTextOrientation()); 2668SizeF size = graph.GetRelativeSize(new SizeF(3, 3)); 3394SizeF titleStringSize = chartGraph.MeasureStringRel(this.Title.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), StringFormat.GenericTypographic, this.GetTextOrientation()); 3415 titleStringSize = chartGraph.GetRelativeSize(new SizeF(titleStringSize.Height, titleStringSize.Width)); 3536SizeF borderSize = chartGraph.GetRelativeSize(new SizeF(this.LineWidth, this.LineWidth)); 3580SizeF areaWallSize = chartGraph.GetRelativeSize(new SizeF(ChartArea.Area3DStyle.WallWidth, ChartArea.Area3DStyle.WallWidth)); 5332SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5344axisLabelSize.Width = chartGraph.GetAbsoluteSize(new SizeF(axisLabelSize.Height, axisLabelSize.Height)).Height; 5345axisLabelSize.Width = chartGraph.GetRelativeSize(new SizeF(axisLabelSize.Width, axisLabelSize.Width)).Width; 5511SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5746SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5960 SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5975axisLabelSize.Width = chartGraph.GetAbsoluteSize(new SizeF(axisLabelSize.Height, axisLabelSize.Height)).Height; 5976axisLabelSize.Width = chartGraph.GetRelativeSize(new SizeF(axisLabelSize.Width, axisLabelSize.Width)).Width; 6222return new SizeF((float)(size * 2), (float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 4)); 6225return new SizeF((float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 4), (float)(size * 2)); 6229return new SizeF(0, 0); 6234return new SizeF((float)(size * 2), (float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 2)); 6237return new SizeF((float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 2), (float)(size * 2));
Common\General\ChartArea.cs (4)
1561 SizeF areaWallSize = chartGraph.GetRelativeSize(new SizeF(this.Area3DStyle.WallWidth, this.Area3DStyle.WallWidth)); 2574 SizeF titleSize = chartGraph.GetAbsoluteSize(new SizeF(xTitleSize, yTitleSize)); 2642 SizeF relativeLabelSize = chartGraph.GetRelativeSize(new SizeF(labelsSize, labelsSize)); 2665 SizeF areaDiff = new SizeF(plotAreaRectAbs.X - areaRectAbs.X, plotAreaRectAbs.Y - areaRectAbs.Y);
Common\General\ChartArea3D.cs (3)
649 areaSceneWallWidth = graph.GetRelativeSize( new SizeF(this.Area3DStyle.WallWidth, this.Area3DStyle.WallWidth)); 1259 areaSceneWallWidth = graph.GetRelativeSize( new SizeF(this.Area3DStyle.WallWidth, this.Area3DStyle.WallWidth)); 2087 SizeF interval = new SizeF(0.5f, 0.5f);
Common\General\ChartGraphics.cs (10)
2160SizeF labelSizeWithImage = new SizeF(labelSize.Width, labelSize.Height); 4474 pathRect.Inflate(new SizeF(2,2)); 5412 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5413 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Height; 5441 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5442 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Height; 5466 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5467 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Width; 5491 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5492 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Width;
Common\General\ChartGraphics3D.cs (4)
3099 SizeF sizeRel = GetRelativeSize(new SizeF(size, size)); 3242 SizeF shadowSizeRel = GetRelativeSize(new SizeF(shadowSizeAbs, shadowSizeAbs)); 3368 SizeF shadowSizeRel = GetRelativeSize(new SizeF(shadowSizeAbs, shadowSizeAbs)); 3537SizeF markerRelativeSize = graph.GetRelativeSize(new SizeF(markerSize, markerSize));
Common\General\Label.cs (1)
1970SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f));
Common\General\Legend.cs (1)
1090 SizeF maxSize = new SizeF(chartAreasRectangle.Width - 2*elementSpacing, chartAreasRectangle.Height - 2*elementSpacing);
Common\General\LegendColumns.cs (1)
2046SizeF charSize = chartGraph.MeasureStringAbs(this.GetCellText(), cellFont, new SizeF(10000f, 10000f), format);
Common\General\Selection.cs (3)
855 SizeF circleRadius = graph.GetAbsoluteSize( new SizeF( radius, radius ) ); 3086SizeF size = graph.GetRelativeSize(new SizeF(3, 3)); 3176SizeF relSize = this.Graph.GetRelativeSize(new SizeF(4f, 4f));
Common\General\SmartLabels.cs (3)
804 SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f)); 814 newMarkerSize = new SizeF( 1421 pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f));
Common\General\StripLine.cs (3)
480 SizeF relBorderWidth = new SizeF(this.BorderWidth + 1, this.BorderWidth + 1); 695SizeF size = graph.MeasureStringRel(titleText.Replace("\\n", "\n"), this.Font, new SizeF(100, 100), format, this.GetTextOrientation()); 719SizeF sizeBorder = graph.GetRelativeSize(new SizeF(this.BorderWidth, this.BorderWidth));
Common\General\Title.cs (2)
1369 SizeF layoutArea = new SizeF( 1857 SizeF layoutArea = new SizeF(chartAreasRectangle.Width, chartAreasRectangle.Height);
Common\Utilities\ElementPosition.cs (1)
231get { return new SizeF(this._width, this._height); }
System.Web.Mobile (1)
UI\MobileControls\Design\Util\ImageCreator.cs (1)
38SizeF size = new SizeF(width, 0);
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
1447textSize = Size.Ceiling(g.MeasureString(text, font, new SizeF(proposedSize.Width, proposedSize.Height), gdipStringFormat));
winforms\Managed\System\WinForms\ContainerControl.cs (4)
117return new SizeF(1.0F, 1.0F); 120return new SizeF(current.Width / saved.Width, current.Height / saved.Height); 324currentAutoScaleDimensions = new SizeF((float)deviceDpi, (float)deviceDpi); 914SizeF factorSize = new SizeF(factor, factor);
winforms\Managed\System\WinForms\Form.cs (1)
4118return new SizeF(width, height);
winforms\Managed\System\WinForms\Label.cs (2)
1313new SizeF(0, proposedConstraints.Height) : 1314new SizeF(proposedConstraints.Width, proposedConstraints.Height);
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
5260return MeasureTextSimple(owner, g, text, font, new SizeF(0,0)); 5264return MeasureText(owner, g, text, font, new SizeF(width,999999));
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
493ScaleAbsoluteStyles(new SizeF(dx,dy));
System.Windows.Forms.DataVisualization (189)
Common\Annotation\AnnotationBase.cs (4)
2046SizeF markerSizeRel = chartGraphics.GetRelativeSize(new SizeF(markerSize, markerSize)); 2786 size = new SizeF( (float)relativeWidth, (float)relativeHeight ); 2821SizeF markerSizeRel = new SizeF((float)this.AnchorOffsetX, (float)this.AnchorOffsetY); 3539 new SizeF(1f, 1f));
Common\Annotation\ArrowAnnotation.cs (1)
317 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\CalloutAnnotation.cs (5)
654 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 919 SizeF pixelSize = graphics.GetRelativeSize(new SizeF(1f, 1f)); 1122 new SizeF(rectanglePosition.Width, rectanglePosition.Height)); 1170 SizeF size = new SizeF(Math.Abs(cloudCenterAbs.X - point.X), Math.Abs(cloudCenterAbs.Y - point.Y)); 1473 SizeF pixelSize = graphics.GetRelativeSize(new SizeF(2f, 2f));
Common\Annotation\GroupAnnotation.cs (1)
924 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\ImageAnnotation.cs (1)
528 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\LineAnnotation.cs (1)
572 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\PolygonAnnotation.cs (1)
569 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\RectangleAnnotation.cs (2)
392 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 630 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y));
Common\Annotation\TextAnnotation.cs (2)
422 RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, secondPoint.Y - firstPoint.Y)); 953new SizeF(2000, 2000),
Common\Borders3D\EmbedBorder.cs (22)
67 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 81sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 113 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 127sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 160 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 174sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 206 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 220sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 253 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 268sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 301 sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize*2f); 314sizeLeftTop = new SizeF(sizeLeftTop.Width, defaultRadiusSize * 2f); 347 this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 363this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 386 this.sizeLeftTop = new SizeF(0, sizeLeftTop.Height); 387 this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 404this.sizeLeftTop = new SizeF(0, sizeLeftTop.Height); 405this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 604 sizeLeftTop = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 605 sizeRightBottom = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 621sizeLeftTop = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f); 622sizeRightBottom = new SizeF(defaultRadiusSize * .8f, defaultRadiusSize * .8f);
Common\Borders3D\EmbossBorder.cs (1)
113 SizeF borderSize = new SizeF(defaultRadiusSize/2f, defaultRadiusSize/2f);
Common\ChartTypes\BarChart.cs (4)
343 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 1318 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 2042SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format); 2114SizeF sizeLabel = new SizeF(size.Width, size.Height);
Common\ChartTypes\BoxPlotChart.cs (10)
482 SizeF relBorderWidth = graph.GetRelativeSize(new SizeF(point.BorderWidth, point.BorderWidth)); 543 SizeF minSize = graph.GetRelativeSize(new SizeF(2, 2)); 648 SizeF relMarkerSize = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 846 SizeF size = new SizeF(markerSize, markerSize); 912SizeF markerSizes = new SizeF(0f, 0f); 915markerSizes = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 933graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 961graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 966SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1323 SizeF minSize = graph.GetRelativeSize(new SizeF(2, 2));
Common\ChartTypes\BubbleChart.cs (1)
182 SizeF size = new SizeF(markerSize, markerSize);
Common\ChartTypes\ColumnChart.cs (6)
269 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 661 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f)); 1246SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1250SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1368SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1372SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\ErrorBarChart.cs (6)
903 SizeF size = new SizeF(markerSize, markerSize); 969SizeF markerSizes = new SizeF(0f, 0f); 972markerSizes = graph.GetRelativeSize(new SizeF(point.MarkerSize, point.MarkerSize)); 990graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1018graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1023SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\FastLineChart.cs (2)
306 SizeF pixelSize = graph.GetRelativeSize(new SizeF(permittedPixelError, permittedPixelError)); 307 SizeF axesMin = graph.GetRelativeSize(new SizeF((float)hAxisMin, (float)vAxisMin));
Common\ChartTypes\FastPointChart.cs (2)
307 SizeF pixelSize = graph.GetRelativeSize(new SizeF(permittedPixelError, permittedPixelError)); 308 SizeF axesMin = graph.GetRelativeSize(new SizeF((float)hAxisMin, (float)vAxisMin));
Common\ChartTypes\FunnelChart.cs (5)
216 private SizeF _funnelNeckSize = new SizeF(50f, 30f); 1521 new SizeF(1000f, 1000F), 1787 SizeF labelSpacing = new SizeF(3f, 3f); 2379 SizeF neckSize = new SizeF(5f, 5f); 2472gapSize = this.Graph.GetAbsoluteSize(new SizeF(gapSize, gapSize)).Height;
Common\ChartTypes\PieChart.cs (12)
792 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) ); 796 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) ); 889 double offset = graph.GetRelativeSize( new SizeF( point.series.ShadowOffset, point.series.ShadowOffset ) ).Width; 1255new SizeF(1000f, 1000f), 1260SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 2555 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) ); 2559 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) ); 5361 SizeF fontSize = new SizeF(1.4F * series.Font.Size,1.4F * series.Font.Size); 5456float labelVertSize = graph.GetAbsoluteSize(new SizeF(0f, this.labelColumnRight.columnHeight)).Height; 5476float labelVertSize = graph.GetAbsoluteSize(new SizeF(0f, this.labelColumnLeft.columnHeight)).Height; 5571 new SizeF(1000f, 1000f), 5576 SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\PointAndFigureChart.cs (1)
758 new SizeF((float)boxXSize, (float)boxYSize));
Common\ChartTypes\PointChart.cs (6)
699SizeF sizeMarker = graph.GetRelativeSize(new SizeF(markerSize, markerSize)); 701graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 704graph.MeasureString("W", point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 707SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 981 pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f)); 1414 SizeF size = new SizeF(markerSize, markerSize);
Common\ChartTypes\RadarChart.cs (4)
959 SizeF size = new SizeF(markerSize, markerSize); 1071SizeF sizeMarker = new SizeF(markerSize, markerSize); 1072SizeF sizeFont = graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic); 1075SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedAreaChart.cs (4)
1037new SizeF(1000f, 1000f), 1042SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1519new SizeF(1000f, 1000f), 1524SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedBarChart.cs (8)
1094new SizeF(1000f, 1000f), 1162new SizeF(0f, 0f), 1180SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1955SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format); 2029new SizeF(1000f, 1000f), 2051new SizeF(0f, 0f), 2078new SizeF(1000f, 1000f), 2084SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StackedColumnChart.cs (8)
1177new SizeF(1000f, 1000f), 1200new SizeF(0f, 0f), 1231new SizeF(1000f, 1000f), 1237SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1897new SizeF(1000f, 1000f), 1921new SizeF(0f, 0f), 1943new SizeF(1000f, 1000f), 1949SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\StockChart.cs (6)
668 SizeF absSize = graph.GetAbsoluteSize(new SizeF(width, width)); 808 SizeF sizeOfHeight = new SizeF( rect.Height, rect.Height ); 1021sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1055sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic)); 1062SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1493 SizeF absSize = graph.GetAbsoluteSize(new SizeF(width, width));
Common\DataManager\DataSeries.cs (4)
662 SizeF relativeSize = graph.GetRelativeSize(new SizeF((float)pointDepth, (float)pointDepth)); 692SizeF relativeSize = graph.GetRelativeSize(new SizeF((float)pointGapDepth, (float)pointGapDepth)); 730 SizeF pointSize = graph.GetAbsoluteSize(new SizeF((float)pointWidth, (float)pointWidth)); 820 SizeF pointRelativeSize = graph.GetRelativeSize(new SizeF((float)pixelPointWidth, (float)pixelPointWidth));
Common\General\Axis.cs (24)
1824SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1844SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 1845axisTitleSize = graph.GetRelativeSize(new SizeF(axisTitleSize.Height, axisTitleSize.Width)); 1867SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1887SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 1888axisTitleSize = graph.GetRelativeSize(new SizeF(axisTitleSize.Height, axisTitleSize.Width)); 2243SizeF realTitleSize = graph.MeasureString(axisTitle.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), format, this.GetTextOrientation()); 2668SizeF size = graph.GetRelativeSize(new SizeF(3, 3)); 3394SizeF titleStringSize = chartGraph.MeasureStringRel(this.Title.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), StringFormat.GenericTypographic, this.GetTextOrientation()); 3415 titleStringSize = chartGraph.GetRelativeSize(new SizeF(titleStringSize.Height, titleStringSize.Width)); 3536SizeF borderSize = chartGraph.GetRelativeSize(new SizeF(this.LineWidth, this.LineWidth)); 5332SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5344axisLabelSize.Width = chartGraph.GetAbsoluteSize(new SizeF(axisLabelSize.Height, axisLabelSize.Height)).Height; 5345axisLabelSize.Width = chartGraph.GetRelativeSize(new SizeF(axisLabelSize.Width, axisLabelSize.Width)).Width; 5511SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5746SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5960 SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4)); 5975axisLabelSize.Width = chartGraph.GetAbsoluteSize(new SizeF(axisLabelSize.Height, axisLabelSize.Height)).Height; 5976axisLabelSize.Width = chartGraph.GetRelativeSize(new SizeF(axisLabelSize.Width, axisLabelSize.Width)).Width; 6222return new SizeF((float)(size * 2), (float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 4)); 6225return new SizeF((float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 4), (float)(size * 2)); 6229return new SizeF(0, 0); 6234return new SizeF((float)(size * 2), (float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 2)); 6237return new SizeF((float)(opositeAxis.MajorTickMark.Size + sizeOpposite * 2), (float)(size * 2));
Common\General\ChartArea.cs (3)
2574 SizeF titleSize = chartGraph.GetAbsoluteSize(new SizeF(xTitleSize, yTitleSize)); 2642 SizeF relativeLabelSize = chartGraph.GetRelativeSize(new SizeF(labelsSize, labelsSize)); 2665 SizeF areaDiff = new SizeF(plotAreaRectAbs.X - areaRectAbs.X, plotAreaRectAbs.Y - areaRectAbs.Y);
Common\General\ChartArea3D.cs (3)
649 areaSceneWallWidth = graph.GetRelativeSize( new SizeF(this.Area3DStyle.WallWidth, this.Area3DStyle.WallWidth)); 1259 areaSceneWallWidth = graph.GetRelativeSize( new SizeF(this.Area3DStyle.WallWidth, this.Area3DStyle.WallWidth)); 2087 SizeF interval = new SizeF(0.5f, 0.5f);
Common\General\ChartGraphics.cs (10)
2160SizeF labelSizeWithImage = new SizeF(labelSize.Width, labelSize.Height); 4474 pathRect.Inflate(new SizeF(2,2)); 5412 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5413 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Height; 5441 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5442 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Height; 5466 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5467 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Width; 5491 size = GetAbsoluteSize( new SizeF((float)size, (float)size) ).Width; 5492 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Width;
Common\General\ChartGraphics3D.cs (4)
3099 SizeF sizeRel = GetRelativeSize(new SizeF(size, size)); 3242 SizeF shadowSizeRel = GetRelativeSize(new SizeF(shadowSizeAbs, shadowSizeAbs)); 3368 SizeF shadowSizeRel = GetRelativeSize(new SizeF(shadowSizeAbs, shadowSizeAbs)); 3537SizeF markerRelativeSize = graph.GetRelativeSize(new SizeF(markerSize, markerSize));
Common\General\Label.cs (1)
1970SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f));
Common\General\Legend.cs (1)
1090 SizeF maxSize = new SizeF(chartAreasRectangle.Width - 2*elementSpacing, chartAreasRectangle.Height - 2*elementSpacing);
Common\General\LegendColumns.cs (1)
2046SizeF charSize = chartGraph.MeasureStringAbs(this.GetCellText(), cellFont, new SizeF(10000f, 10000f), format);
Common\General\Selection.cs (3)
855 SizeF circleRadius = graph.GetAbsoluteSize( new SizeF( radius, radius ) ); 3086SizeF size = graph.GetRelativeSize(new SizeF(3, 3)); 3176SizeF relSize = this.Graph.GetRelativeSize(new SizeF(4f, 4f));
Common\General\SmartLabels.cs (3)
804 SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f)); 814 newMarkerSize = new SizeF( 1421 pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f));
Common\General\StripLine.cs (3)
480 SizeF relBorderWidth = new SizeF(this.BorderWidth + 1, this.BorderWidth + 1); 695SizeF size = graph.MeasureStringRel(titleText.Replace("\\n", "\n"), this.Font, new SizeF(100, 100), format, this.GetTextOrientation()); 719SizeF sizeBorder = graph.GetRelativeSize(new SizeF(this.BorderWidth, this.BorderWidth));
Common\General\Title.cs (2)
1369 SizeF layoutArea = new SizeF( 1857 SizeF layoutArea = new SizeF(chartAreasRectangle.Width, chartAreasRectangle.Height);
Common\Utilities\ElementPosition.cs (1)
231get { return new SizeF(this._width, this._height); }
System.Workflow.Activities (1)
Designers\StateMachineDesignerPaint.cs (1)
44textSize = graphics.MeasureString(text, font, new SizeF(maxSize.Width, maxSize.Height), format);
System.Workflow.ComponentModel (4)
AuthoringOM\Design\DesignerHelpers.cs (1)
76textSize = graphics.MeasureString(text, font, new SizeF(maxSize.Width, maxSize.Height), format);
AuthoringOM\Design\DesignerInterfaces.cs (1)
160public SizeF Scaling = new SizeF(1.0f, 1.0f);
AuthoringOM\Design\WorkflowView.cs (2)
1041viewPortData.Scaling = new SizeF(ScaleZoomFactor, ScaleZoomFactor); 1537viewPortData.Scaling = new SizeF(1, 1);
System.WorkflowServices (1)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (1)
159this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13f);