<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Control fields width in table Frame in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/control-fields-width-in-table-frame/m-p/1077671#M6857</link>
    <description>&lt;P&gt;When you create a table frame in layout with pro (not in code) you have an option to set the field width to Auto width.&lt;/P&gt;&lt;P&gt;Is there any option in the SDK to set this property?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jul 2021 05:31:27 GMT</pubDate>
    <dc:creator>mody_buchbinder</dc:creator>
    <dc:date>2021-07-12T05:31:27Z</dc:date>
    <item>
      <title>Control fields width in table Frame</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/control-fields-width-in-table-frame/m-p/1077671#M6857</link>
      <description>&lt;P&gt;When you create a table frame in layout with pro (not in code) you have an option to set the field width to Auto width.&lt;/P&gt;&lt;P&gt;Is there any option in the SDK to set this property?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 05:31:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/control-fields-width-in-table-frame/m-p/1077671#M6857</guid>
      <dc:creator>mody_buchbinder</dc:creator>
      <dc:date>2021-07-12T05:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Control fields width in table Frame</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/control-fields-width-in-table-frame/m-p/1079763#M6866</link>
      <description>&lt;P&gt;You can use the 'FittingStrategy' property of the CIMTableFrame to set the auto sizing behavior:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var theTable = LayoutElementFactory.Instance.CreateTableFrame(layout, EnvelopeBuilder.CreateEnvelope(llTab1, urTab1), mfElm, lyr, new string[] { "Label", "Description" });
var def = theTable.GetDefinition() as CIMTableFrame;
def.FittingStrategy = TableFrameFittingStrategy.AdjustColumnsAndSize;
def.FillingStrategy = TableFrameFillingStrategy.ShowAllRows;
theTable.SetDefinition(def);&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 16 Jul 2021 17:57:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/control-fields-width-in-table-frame/m-p/1079763#M6866</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2021-07-16T17:57:06Z</dc:date>
    </item>
  </channel>
</rss>

